package cn.infinite.security.point;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 图片验证码生成能力
 */
public interface ImageCheckCodeGenerateAble {

    Boolean needImageCheck(String userId);

    void generateCheckCodeImage(String userId, HttpServletResponse response) throws IOException;

}
